package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author wei
 * @create 2023-02-18 14:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "盘点单详情视图")
public class StocktakingFormDetailsVO {
    @ApiModelProperty(name = "sfId",notes = "盘点单id")
    private Long sfId;

    @ApiModelProperty(name = "sfNo",notes = "盘点单号")
    private String sfNo;

    @ApiModelProperty(name = "sfName",notes = "盘点单名称")
    private String sfName;

    @ApiModelProperty(name = "sfRemark",notes = "备注")
    private String sfRemark;

    @ApiModelProperty(name = "sfCreater",notes = "创建人")
    private String sfCreater;

    @ApiModelProperty(name = "sfState",notes = "状态(1:未完成，2:已完成)",required = true)
    private Integer sfState;

    @ApiModelProperty(name = "sfCreateTime",notes = "创建时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp sfCreateTime;

    @ApiModelProperty(name = "sfIsAll",notes = "是否全员盘点(1:是，2:否)",required = true)
    private Integer sfIsAll;

    @ApiModelProperty(name = "sfIsPlate",notes = "盘点时是否必须拍照(1:是，2:否)",required = true)
    private Integer sfIsPlate;

    @ApiModelProperty(name = "sfIsManual",notes = "是否允许手动选择资产盘点(1:是，2:否)",required = true)
    private Integer sfIsManual;

    @ApiModelProperty(name = "sfIsUpload",notes = "盘点是否允许拍照上(1:是，2:否)",required = true)
    private Integer sfIsUpload;

    @ApiModelProperty(name = "sfIsContainCallout",notes = "是否包含已经调出未确认资产(1:是，2:否)",required = true)
    private Integer sfIsContainCallout;

    @ApiModelProperty(name = "assignEmpsName",notes = "分配用户",required = true)
    private List<String> assignEmpsName;

}
